package com.lucweb.entity;

import javax.persistence.*;

@Entity
@Table(name = "task_today", schema = "firesystem", catalog = "")
public class TaskToday {
    private int id;
    private String zjwhsx;
    private String zrwwc;
    private String jswsjdnr;
    private String cgsqhc;
    private String jrywc;
    private String ldbjswsjdnr;
    private String ldbcgsqhc;
    private String qcht;
    private String htdw;
    private String cjbg;
    private String bgdw;
    private String qdysfgt;
    private String qdsw;
    private String todayDate;
    private String ddxfs;

    @Id
    @Column(name = "id", nullable = false)
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @Basic
    @Column(name = "zjwhsx", nullable = true, length = 255)
    public String getZjwhsx() {
        return zjwhsx;
    }

    public void setZjwhsx(String zjwhsx) {
        this.zjwhsx = zjwhsx;
    }

    @Basic
    @Column(name = "zrwwc", nullable = true, length = 255)
    public String getZrwwc() {
        return zrwwc;
    }

    public void setZrwwc(String zrwwc) {
        this.zrwwc = zrwwc;
    }

    @Basic
    @Column(name = "jswsjdnr", nullable = true, length = 255)
    public String getJswsjdnr() {
        return jswsjdnr;
    }

    public void setJswsjdnr(String jswsjdnr) {
        this.jswsjdnr = jswsjdnr;
    }

    @Basic
    @Column(name = "cgsqhc", nullable = true, length = 255)
    public String getCgsqhc() {
        return cgsqhc;
    }

    public void setCgsqhc(String cgsqhc) {
        this.cgsqhc = cgsqhc;
    }

    @Basic
    @Column(name = "jrywc", nullable = true, length = 255)
    public String getJrywc() {
        return jrywc;
    }

    public void setJrywc(String jrywc) {
        this.jrywc = jrywc;
    }

    @Basic
    @Column(name = "ldbjswsjdnr", nullable = true, length = 255)
    public String getLdbjswsjdnr() {
        return ldbjswsjdnr;
    }

    public void setLdbjswsjdnr(String ldbjswsjdnr) {
        this.ldbjswsjdnr = ldbjswsjdnr;
    }

    @Basic
    @Column(name = "ldbcgsqhc", nullable = true, length = 255)
    public String getLdbcgsqhc() {
        return ldbcgsqhc;
    }

    public void setLdbcgsqhc(String ldbcgsqhc) {
        this.ldbcgsqhc = ldbcgsqhc;
    }

    @Basic
    @Column(name = "qcht", nullable = true, length = 255)
    public String getQcht() {
        return qcht;
    }

    public void setQcht(String qcht) {
        this.qcht = qcht;
    }

    @Basic
    @Column(name = "htdw", nullable = true, length = 255)
    public String getHtdw() {
        return htdw;
    }

    public void setHtdw(String htdw) {
        this.htdw = htdw;
    }

    @Basic
    @Column(name = "cjbg", nullable = true, length = 255)
    public String getCjbg() {
        return cjbg;
    }

    public void setCjbg(String cjbg) {
        this.cjbg = cjbg;
    }

    @Basic
    @Column(name = "bgdw", nullable = true, length = 255)
    public String getBgdw() {
        return bgdw;
    }

    public void setBgdw(String bgdw) {
        this.bgdw = bgdw;
    }

    @Basic
    @Column(name = "qdysfgt", nullable = true, length = 255)
    public String getQdysfgt() {
        return qdysfgt;
    }

    public void setQdysfgt(String qdysfgt) {
        this.qdysfgt = qdysfgt;
    }

    @Basic
    @Column(name = "qdsw", nullable = true, length = 255)
    public String getQdsw() {
        return qdsw;
    }

    public void setQdsw(String qdsw) {
        this.qdsw = qdsw;
    }

    @Basic
    @Column(name = "todayDate", nullable = true, length = 255)
    public String getTodayDate() {
        return todayDate;
    }

    public void setTodayDate(String todayDate) {
        this.todayDate = todayDate;
    }

    @Basic
    @Column(name = "ddxfs", nullable = true, length = 255)
    public String getDdxfs() {
        return ddxfs;
    }

    public void setDdxfs(String ddxfs) {
        this.ddxfs = ddxfs;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TaskToday taskToday = (TaskToday) o;

        if (id != taskToday.id) return false;
        if (zjwhsx != null ? !zjwhsx.equals(taskToday.zjwhsx) : taskToday.zjwhsx != null) return false;
        if (zrwwc != null ? !zrwwc.equals(taskToday.zrwwc) : taskToday.zrwwc != null) return false;
        if (jswsjdnr != null ? !jswsjdnr.equals(taskToday.jswsjdnr) : taskToday.jswsjdnr != null) return false;
        if (cgsqhc != null ? !cgsqhc.equals(taskToday.cgsqhc) : taskToday.cgsqhc != null) return false;
        if (jrywc != null ? !jrywc.equals(taskToday.jrywc) : taskToday.jrywc != null) return false;
        if (ldbjswsjdnr != null ? !ldbjswsjdnr.equals(taskToday.ldbjswsjdnr) : taskToday.ldbjswsjdnr != null)
            return false;
        if (ldbcgsqhc != null ? !ldbcgsqhc.equals(taskToday.ldbcgsqhc) : taskToday.ldbcgsqhc != null) return false;
        if (qcht != null ? !qcht.equals(taskToday.qcht) : taskToday.qcht != null) return false;
        if (htdw != null ? !htdw.equals(taskToday.htdw) : taskToday.htdw != null) return false;
        if (cjbg != null ? !cjbg.equals(taskToday.cjbg) : taskToday.cjbg != null) return false;
        if (bgdw != null ? !bgdw.equals(taskToday.bgdw) : taskToday.bgdw != null) return false;
        if (qdysfgt != null ? !qdysfgt.equals(taskToday.qdysfgt) : taskToday.qdysfgt != null) return false;
        if (qdsw != null ? !qdsw.equals(taskToday.qdsw) : taskToday.qdsw != null) return false;
        if (todayDate != null ? !todayDate.equals(taskToday.todayDate) : taskToday.todayDate != null) return false;
        if (ddxfs != null ? !ddxfs.equals(taskToday.ddxfs) : taskToday.ddxfs != null) return false;

        return true;
    }

    @Override
    public int hashCode() {
        int result = id;
        result = 31 * result + (zjwhsx != null ? zjwhsx.hashCode() : 0);
        result = 31 * result + (zrwwc != null ? zrwwc.hashCode() : 0);
        result = 31 * result + (jswsjdnr != null ? jswsjdnr.hashCode() : 0);
        result = 31 * result + (cgsqhc != null ? cgsqhc.hashCode() : 0);
        result = 31 * result + (jrywc != null ? jrywc.hashCode() : 0);
        result = 31 * result + (ldbjswsjdnr != null ? ldbjswsjdnr.hashCode() : 0);
        result = 31 * result + (ldbcgsqhc != null ? ldbcgsqhc.hashCode() : 0);
        result = 31 * result + (qcht != null ? qcht.hashCode() : 0);
        result = 31 * result + (htdw != null ? htdw.hashCode() : 0);
        result = 31 * result + (cjbg != null ? cjbg.hashCode() : 0);
        result = 31 * result + (bgdw != null ? bgdw.hashCode() : 0);
        result = 31 * result + (qdysfgt != null ? qdysfgt.hashCode() : 0);
        result = 31 * result + (qdsw != null ? qdsw.hashCode() : 0);
        result = 31 * result + (todayDate != null ? todayDate.hashCode() : 0);
        result = 31 * result + (ddxfs != null ? ddxfs.hashCode() : 0);
        return result;
    }
}
